Skip to main content

Abrt

Abrt is a popular crash detector on Linux systems. Sometimes when an application crashes it may generate an abrt data dump containing metadata about the crashed process

Collection​

You have to use the artemis api in order to collect abrt crashes.

Sample API Script​

import { extractAbrt } from "./artemis-api/mod";

async function main() {
const results = await extractAbrt();
console.log(JSON.stringify(results));

return results;
}

main();

Output Structure​

An array of Abrt entries.

export interface Abrt {
executable: string;
pid: number;
cmdline: string;
reason: string;
hostname: string;
last_occurrence: string;
user: string;
evidence: string;
backtrace: string | Record<string, unknown>;
environment: string;
home: string;
message: string;
datetime: string;
timestamp_desc: "Abrt Last Occurrence";
artifact: "Abrt";
data_type: "linux:abrt:entry";
}